.demo__frame {
    padding: 1rem;
}

.demo__toolbar {
    align-items: center;
    border-top: 1px solid #e6e6e6;
    display: flex;
    font-size: 0.75rem;
    padding: 0.25rem;
}

.demo__button {
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    color: #333;
    cursor: pointer;
    display: flex;
    height: 2rem;
    padding: 0 0.75rem;

    &:hover {
        background-color: #e5e5e5;
    }
}
.demo__code {
    display: none;

    &--opened {
        display: block;
    }
}
.demo__code-loader {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    width: 100%;
}

.demo__code-body {
    max-height: 40rem;
    overflow: auto;
}
.demo__code-body .block-markdown__pre {
    border-radius: 0;
    margin: 0;
}
